<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<form method="post">
<table width="90%" height="69"align="center"  class="bordernone">
  <tr>
  <td class="bg_blue"  align="right" >所属区域：</td>
    <td class="nohover"><cms:selectDataLevel dataType="002" name="areaCode" firstTitle="请选择.." key="${param.areaCode}"></cms:selectDataLevel></td>
    <td class="bg_blue"  align="right">单位名称：</td>
    <td  class="nohover"><input type="text" name="empInfoName" value="${param.empInfoName}"></td>
    <td class="bg_blue" align="right" >姓名：</td>
    <td  class="nohover"><input type="text" name="unitUserName" value="${param.unitUserName}"></td>
  </tr>
  <tr>
    <td class="nohover" colspan="6" align="center"><input class="buttonsearch" type="submit" value="查询">&nbsp;    <input class="buttonreset" type="reset" value="重置" ></td>
  </tr>
</table>
 </form>
<table width="100%" border="1">
  <tr>
  	<th width="35">序号</th>
  	<th width="75">单位</th>
    <th width="75">姓名</th>
    <th width="75">登录名</th>
    <th width="60">性别</th>
    <th width="75">部门</th>
    <th width="75">职务</th>
    <th width="160">操作</th>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td>${pageNum + lineInfo.count}</td>
    <td>${prod.unitUser.empInfoName}</td>
    <td>${prod.unitUserName}</td>
    <td>${prod.unitUserLoginName}</td>
    <td>
    <c:if test="${prod.unitUserSex == '0'}">男</c:if><c:if test="${prod.unitUserSex == '1'}">女</c:if>
    </td>
    <td>${prod.unitUserDepart}</td>
	<td>${prod.unitUserDuty}</td>
	 <td><input name="button2" type="button" class="buttonmodify" onClick="javascript:window.location.href='<%=request.getContextPath()%>/UnitUser.do?method=toUpdate&uid=${prod.unitUserId}&page=${intPage}'" value="修改"/>
    <input class="buttondelete" type="button" onClick="javascript:if(confirm('确定删除该数据吗？')){window.location.href='<%=request.getContextPath()%>/UnitUser.do?method=delete&uid=${prod.unitUserId}&page=${intPage}'}" value="删除" /></td>
  </tr>
  </c:forEach>
  <tr>
    <td class="nohover" colspan="8" align="center">&nbsp;
    <form name="pageForm" method="post">
    <input type="hidden" name="areaCode" value="${param.areaCode}"/>
    <input type="hidden" name="unitUserName" value="${param.unitUserName}"/>
    <input type="hidden" name="empInfoName" value="${param.empInfoName}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
</table>
</body>
</html>
